import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import "vant/lib/index.css"
import { Button, Search, Icon, Swipe, SwipeItem, Grid, GridItem, CountDown, Tabbar, TabbarItem, Image, ConfigProvider, Locale } from "vant"
import enUS from 'vant/es/locale/lang/en-US';
import './assets/main.css'
import service from "./utils/service"
const app = createApp(App)
app.config.globalProperties.$http = service;

app.use(router)
app.use(Button)
app.use(Search)
app.use(Icon)
app.use(Swipe)
app.use(SwipeItem)
app.use(Grid)
app.use(GridItem)
app.use(CountDown)
app.use(Tabbar)
app.use(TabbarItem)
app.use(Image)
app.use(ConfigProvider)
app.use(Locale)
Locale.use('en-US', enUS);


app.mount('#app')
